home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1320 / 1320.xpi / chrome / gmanager.jar / content / options / dialogs / account.xul < prev   
Extensible Markup Language  |  2010-01-22  |  7KB  |  208 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://gmanager/content/options/options.css" type="text/css"?>
  3.  
  4. <!-- 
  5.   Gmail Manager
  6.   By Todd Long <longfocus@gmail.com>
  7.   http://www.longfocus.com/firefox/gmanager/
  8.  -->
  9.  
  10. <!DOCTYPE dialog SYSTEM "chrome://gmanager/locale/gmanager.dtd">
  11.  
  12. <dialog id="gmanager-options-account"
  13.         title="&options-account-title;"
  14.         buttons="accept, cancel"
  15.         oncommand="gmanager_OptionsAccount.input();"
  16.         ondialogaccept="return gmanager_OptionsAccount.dialogAccept();"
  17.         oninput="gmanager_OptionsAccount.input();"
  18.         onload="gmanager_OptionsAccount.load();"
  19.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  20.         
  21.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/bundle.js"/>
  22.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/prefs.js"/>
  23.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/sounds.js"/>
  24.     <script type="application/x-javascript" src="chrome://gmanager/content/utils/utils.js"/>
  25.     <script type="application/x-javascript" src="chrome://gmanager/content/options/dialogs/account.js"/>
  26.     
  27.     <tabbox>
  28.         <tabs>
  29.             <tab label="&options-tab-general;"/>
  30.             <tab label="&options-tab-toolbar;"/>
  31.             <tab label="&options-tab-tooltip;"/>
  32.             <tab label="&options-tab-notifications;"/>
  33.         </tabs>
  34.         
  35.         <tabpanels>
  36.             <!-- General -->
  37.             <tabpanel orient="vertical">
  38.                 <groupbox>
  39.                     <caption label="&options-account-general-account;"/>
  40.                     
  41.                     <grid flex="1">
  42.                         <columns>
  43.                             <column/>
  44.                             <column flex="1"/>
  45.                         </columns>
  46.                         
  47.                         <rows>
  48.                             <row align="center">
  49.                                 <label value="&common-email;:"
  50.                                     control="gmanager-options-account-email"/>
  51.                                     
  52.                                 <textbox id="gmanager-options-account-email"/>
  53.                             </row>
  54.                             <row align="center">
  55.                                 <label value="&common-alias;:"
  56.                                     control="gmanager-options-account-alias"/>
  57.                                     
  58.                                 <textbox id="gmanager-options-account-alias"/>
  59.                             </row>
  60.                             <row align="center">
  61.                                 <label value="&common-password;:"
  62.                                     control="gmanager-options-account-password"/>
  63.                                     
  64.                                 <textbox id="gmanager-options-account-password"
  65.                                         type="password"/>
  66.                             </row>
  67.                         </rows>
  68.                     </grid>
  69.                 </groupbox>
  70.                 
  71.                 <groupbox>
  72.                     <caption label="&options-account-general-startup;"/>
  73.                     
  74.                     <checkbox id="gm-prefs-general-auto-login"
  75.                             label="&options-account-general-auto-login;"/>
  76.                 </groupbox>
  77.             </tabpanel>
  78.             
  79.             <!-- Toolbar -->
  80.             <tabpanel orient="vertical">
  81.                 <groupbox>
  82.                     <caption label="&options-account-toolbar-display-placement;"/>
  83.                     
  84.                     <hbox align="center">
  85.                         <checkbox id="gm-prefs-toolbar-display"
  86.                                 label="&options-account-toolbar-display-toolbar;:"/>
  87.                                 
  88.                         <menulist>
  89.                             <menupopup id="gm-prefs-toolbar-toolbar-id"/>
  90.                         </menulist>
  91.                     </hbox>
  92.                     
  93.                     <radiogroup id="gm-prefs-toolbar-placement"
  94.                                 class="gmanager-indent">
  95.                                 
  96.                         <radio label="&options-account-toolbar-always-last;"
  97.                             value="always-last"/>
  98.                             
  99.                         <hbox align="center">
  100.                             <radio label="&options-account-toolbar-specific-position;:"
  101.                                 value="specific-position"/>
  102.                                 
  103.                             <textbox id="gm-prefs-toolbar-specific-position"
  104.                                     size="2"
  105.                                     type="number"/>
  106.                         </hbox>
  107.                     </radiogroup>
  108.                 </groupbox>
  109.                 
  110.                 <groupbox>
  111.                     <caption label="&options-toolbar-selected-account;"/>
  112.                     
  113.                     <checkbox id="gm-prefs-toolbar-account-hide-unread-count"
  114.                             label="&options-account-toolbar-hide-count;"/>
  115.                             
  116.                     <checkbox id="gm-prefs-toolbar-account-hide-alias"
  117.                             label="&options-account-toolbar-hide-alias;"/>
  118.                 </groupbox>
  119.                 
  120.                 <groupbox pack="center">
  121.                     <caption label="&options-account-toolbar-unread-count;"/>
  122.                     
  123.                     <hbox align="center">
  124.                         <label value="&options-account-toolbar-unread-include;:"/>
  125.                         
  126.                         <checkbox id="gm-prefs-toolbar-unread-count-inbox"
  127.                                 label="&options-account-toolbar-unread-count-inbox;"/>
  128.                                 
  129.                         <checkbox id="gm-prefs-toolbar-unread-count-spam"
  130.                                 label="&options-account-toolbar-unread-toolbar-spam;"/>
  131.                                 
  132.                         <checkbox id="gm-prefs-toolbar-unread-count-labels"
  133.                                 label="&options-account-toolbar-unread-toolbar-labels;"/>
  134.                     </hbox>
  135.                 </groupbox>
  136.             </tabpanel>
  137.             
  138.             <!-- Tooltip -->
  139.             <tabpanel orient="vertical">
  140.                 <groupbox>
  141.                     <caption label="&options-account-toolbar-tooltip;"/>
  142.                     
  143.                     <checkbox id="gm-prefs-toolbar-tooltip-show-labels"
  144.                             label="&options-account-toolbar-show-labels;"/>
  145.                             
  146.                     <checkbox id="gm-prefs-toolbar-tooltip-show-snippets"
  147.                             label="&options-account-toolbar-show-snippets;"/>
  148.                 </groupbox>
  149.             </tabpanel>
  150.             
  151.             <!-- Notifications -->
  152.             <tabpanel orient="vertical">
  153.                 <groupbox>
  154.                     <caption label="&options-account-notifications-check-messages;"/>
  155.                     
  156.                     <hbox align="center"
  157.                         flex="1">
  158.                         
  159.                         <checkbox id="gm-prefs-notifications-check"
  160.                             label="&options-account-notifications-check-every;"
  161.                             control="gm-prefs-notifications-check-interval"/>
  162.                             
  163.                         <textbox id="gm-prefs-notifications-check-interval"
  164.                                 type="number"
  165.                                 size="2"/>
  166.                                 
  167.                         <label value="&options-account-notifications-minutes;"
  168.                             control="gm-prefs-notifications-check-interval"/>
  169.                     </hbox>
  170.                 </groupbox>
  171.                 
  172.                 <groupbox>
  173.                     <caption label="&options-account-notifications-snippets;"/>
  174.                     
  175.                     <checkbox id="gm-prefs-notifications-display-snippets"
  176.                             label="&options-account-notifications-display-snippets;"/>
  177.                 </groupbox>
  178.                 
  179.                 <groupbox>
  180.                     <caption label="&options-account-notifications-sounds;"/>
  181.                     
  182.                     <checkbox id="gm-prefs-notifications-sounds"
  183.                             label="&options-account-notifications-play-sound;"/>
  184.                             
  185.                     <hbox class="gmanager-indent"
  186.                         align="center">
  187.                         
  188.                         <textbox id="gm-prefs-notifications-sounds-file"
  189.                                 flex="1"
  190.                                 minwidth="140px"/>
  191.                                 
  192.                         <button id="gm-prefs-notifications-sound-browse"
  193.                                 label="&btn-browse;"
  194.                                 accesskey="&btn-browse.ak;"
  195.                                 oncommand="gmanager_OptionsAccount.selectSoundFile();"/>
  196.                                 
  197.                         <button id="gm-prefs-notifications-sound-preview" 
  198.                                 label="&btn-preview;"
  199.                                 accesskey="&btn-preview.ak;"
  200.                                 oncommand="gmanager_OptionsAccount.previewSoundFile();"/>
  201.                     </hbox>
  202.                 </groupbox>
  203.             </tabpanel>
  204.         </tabpanels>
  205.     </tabbox>
  206.     
  207.     <separator class="thin"/>
  208. </dialog>